public class AccountTest {
    public static void main(String[] args) {
        //法一
        //Account jack = new Account("j", 10, "20012");
        //jack.showInfo();

        //法二
        Account account = new Account();
        account.setName("jack");
        account.setBalance(20000);
        account.setPassword("200412");
        account.showInfo();
    }
}


